package cn.school.demo.ui.notice

import androidx.lifecycle.ViewModel
import androidx.localbroadcastmanager.content.LocalBroadcastManager
import androidx.work.Data
import androidx.work.OneTimeWorkRequest
import androidx.work.WorkManager
import cn.school.demo.pojo.Notice
import com.blankj.utilcode.util.LogUtils

class NoticeViewModel : ViewModel() {
    private var _notice: MutableList<Notice>
    val notice: MutableList<Notice>
        get() = _notice

    init {
        _notice = mutableListOf()
    }

    fun updateNotice(notice: MutableList<Notice>) {
        _notice = notice
    }

    var newY: Float = 0f
    var oldY: Float = 0f
    var isBottom = false
    var isTop = false
}